package com.demo.patch.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.core.ActionInvocation;

/**
 * PatchInterceptor 此拦截器仅做为示例展示，在本 demo 中并不需要
 */
public class PatchInterceptor implements Interceptor {

  public void intercept(ActionInvocation ai) {
    System.out.println("Before invoking " + ai.getActionKey());
    ai.invoke();
    System.out.println("After invoking " + ai.getActionKey());
  }
}
